/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "工单甘特图",TableName = "GanttChart")]
    public partial class GanttChart:BaseEntity
    {
        /// <summary>
       ///主键Id
       /// </summary>
       [Key]
       [Display(Name ="主键Id")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int GanttId { get; set; }

       /// <summary>
       ///产品/编辑部
       /// </summary>
       [Display(Name ="产品/编辑部")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Product { get; set; }

       /// <summary>
       ///计划生产数量
       /// </summary>
       [Display(Name ="计划生产数量")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Planned_quantity { get; set; }

       /// <summary>
       ///完工数量
       /// </summary>
       [Display(Name ="完工数量")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Completed { get; set; }

       /// <summary>
       ///指标值
       /// </summary>
       [Display(Name ="指标值")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public decimal Indicator_value { get; set; }

       /// <summary>
       ///订单状态
       /// </summary>
       [Display(Name ="订单状态")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int OrderStatus { get; set; }

       /// <summary>
       ///计划开始日期
       /// </summary>
       [Display(Name ="计划开始日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime StartDate { get; set; }

       /// <summary>
       ///计划完成日期
       /// </summary>
       [Display(Name ="计划完成日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime EndDate { get; set; }

       /// <summary>
       ///关联的工艺路线
       /// </summary>
       [Display(Name ="关联的工艺路线")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string ProcessRoute { get; set; }

       
    }
}